/**********************************************
 * 
 * File Name				:	Dialect.java
 * 
 * Last Changed Date		: 	$Date: 2009-08-01 11:12:53 +0800 (星期六, 01 八月 2009) $
 * 
 * Last Changed Revision	:	$Revision: 86 $
 * 
 * Last Changed Author		:	$Author: cfanboy $
 * 
 * File Header URL			:	$HeadURL: svn://www.svnhost.cn/Busi-Building/code/branch/src/com/busibuilding/common/pagination/Dialect.java $
 * 
 * ********************************************
 */

package com.busibuilding.common.pagination;

/**
 * Class Name: Dialect.java
 * Description: 
 * @author YU Zhipeng
 * @version 1.0
 * @since 1.0
 * Date: 2009-7-18
 */

public interface Dialect {
	public boolean supportsLimit();  

    public String getLimitString(String sql, boolean hasOffset);  

    public String getLimitString(String sql, int offset, int limit);   
}
